﻿#pragma once


// CSettingDlg 对话框

class CSettingDlg : public CDialogEx
{
	DECLARE_DYNAMIC(CSettingDlg)

public:
	CSettingDlg(CWnd* pParent = nullptr);   // 标准构造函数
	virtual ~CSettingDlg();

// 对话框数据
#ifdef AFX_DESIGN_TIME
	enum { IDD = IDD_DIALOG_SETTING };
#endif

protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV 支持

	DECLARE_MESSAGE_MAP()
public:
	int nPosX0;
	int nPosX1;
	int nPosX2;
	int nPosX3;
	int nPosX4;
	int nPosX5;
	int nPosX6;
	int nPosY0;
	int nPosY1;
	int nPosY2;
	int nPosY3;
	int nPosY4;
	int nPosY5;
	int nPosY6;
	int nPosZ0;
	int nPosZ1;
	int nPosZ2;
	int nPosZ3;
	int nPosZ4;
	int nPosZ5;
	int nPosZ6;
	BOOL bFlag0;
	BOOL bFlag1;
	BOOL bFlag2;
	BOOL bFlag3;
	virtual BOOL OnInitDialog();
	virtual void OnCancel();
	void ReadConfigIni();
	void SaveEditValueToConfig();
	afx_msg void OnBnClickedButtonSave();
	BOOL bUseUpFlag;
	int nPitouCount;
	BOOL OpenWeiyi;
	double m_dSpecUp;
	double m_dSpecDown;
	BOOL bPassYamahaFlag;
	BOOL m_bSecondCode;
	CString CheckSN1;
	BOOL CheckFlag1;
	CString CheckSN2;
	BOOL CheckFlag2;
	CComboBox YamahaMode;
	BOOL AlarmFlag;
	int nPosX7;
	int nPosX8;
	int nPosY7;
	int nPosY8;
	int nPosZ7;
	int nPosZ8;
	BOOL bFlag4;
	BOOL bFlag5;
	BOOL Pass30Flag;
	BOOL OpenAutoFlag_10;
};
